<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="wrap fix i_box_wrap mt10" style="margin-bottom: 20px;">
	<div class="i_box1">
		<h2 class="Tit1">
		<#assign n =0 /> 
		 <#list proPic as p>
		 <#assign n = n+1 /> 
         <#if n gt 1><#break></#if>
			<a href="<%=request.getContextPath()%>/channel/${p.proTypeId}.do">单品推荐</a> <a href="<%=request.getContextPath()%>/channel/${p.proTypeId}.do"
				class="more">更多></a>
		 </#list>
		</h2>
		<div class="index-pro">
    <div class="index-pro-list">
        <ul>
         <#list proPic as p>
            <li>
                <div><a href="<%=request.getContextPath()%>/showProPic/${p.id}.do" title="${p.attName}">
                <img src="<%=request.getContextPath()%>/resources/upload/Newthumbnail/${p.newName}"  alt="${p.attName}"/></a>
                    <div class="img-title" ></div>
                    <div class="img-title-text">${p.attName}</div>
                </div>
            </li>
            </#list>
        </ul>
    </div>
    <a class="abtn aleft" href="#up">上移</a>
	<a class="abtn aright" href="#down">下移</a>
</div>
<script type="text/javascript">
$(function(){
	//七、上下自动循环切换;
	$(".index-pro").Xslider({
		unitdisplayed:1,
		numtoMove:1,
		loop:"cycle",
		dir:"V",
		autoscroll:2500,
		speed:300
	});


	$("a").focus(function(){this.blur();});
})
</script>
		
	</div>



	<div class="i_box2">
		<h2 class="Tit1">
		<#assign k =0 /> 
		<#list tpl as tp>
		<#assign k = k+1 /> 
         <#if k gt 1><#break></#if>
			<a href="<%=request.getContextPath()%>/channel/${tp.channel.id}.do">新闻中心</a><a
				href="<%=request.getContextPath()%>/channel/${tp.channel.id}.do" class="more">更多></a>
		</#list>
		</h2>
		<ul class="base_list first">
		<#list tpl as tp>
			<li><a href="<%=request.getContextPath()%>/topic/${tp.id}.do"
				target="_blank" title="${tp.title}"><b>·&nbsp;</b>${tp.channel.name}:${tp.title}</a></li>
		</#list>
		</ul>
	</div>
	<div class="i_box3">
		<h2 class="Tit1">
			<a href="<#if adv??>${adv.linkUrl}</#if>">营销网络</a><a
				href="<#if adv??>${adv.linkUrl}</#if>" class="more">更多></a>
		</h2>
		<a href="<#if adv??>${adv.linkUrl}</#if>" title="title2"><img
			src="<%=request.getContextPath()%>/resources/indexPic/thumbnail/<#if adv??>${adv.newName}</#if>" width="280"
			height="170" alt="联系我们" /></a>
	</div>
</div>